package com.ruoyi.aitcommon.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试节点1对象 tmp_table1
 * 
 * @author ruoyi
 * @date 2022-02-15
 */
public class TmpTable1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 错误消息 */
    @Excel(name = "错误消息")
    private String errMsg;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processTime;

    /** 扩展1 */
    @Excel(name = "扩展1")
    private BigDecimal field1;

    /** 扩展2 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "扩展2", width = 30, dateFormat = "yyyy-MM-dd")
    private Date field2;

    /** 扩展3 */
    @Excel(name = "扩展3")
    private String field3;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setErrMsg(String errMsg) 
    {
        this.errMsg = errMsg;
    }

    public String getErrMsg() 
    {
        return errMsg;
    }
    public void setProcessTime(Date processTime) 
    {
        this.processTime = processTime;
    }

    public Date getProcessTime() 
    {
        return processTime;
    }
    public void setField1(BigDecimal field1) 
    {
        this.field1 = field1;
    }

    public BigDecimal getField1() 
    {
        return field1;
    }
    public void setField2(Date field2) 
    {
        this.field2 = field2;
    }

    public Date getField2() 
    {
        return field2;
    }
    public void setField3(String field3) 
    {
        this.field3 = field3;
    }

    public String getField3() 
    {
        return field3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("errMsg", getErrMsg())
            .append("processTime", getProcessTime())
            .append("field1", getField1())
            .append("field2", getField2())
            .append("field3", getField3())
            .toString();
    }
}
